import { Switch,Route } from 'react-router';

import Home from './views/Home';
import Result from './views/Result';
import Test from './views/Test';

function App() {
  return <div className="App">
    <Switch>
      <Route exact path="/" component={Home} ></Route>
      <Route path="/result" component={Result} ></Route>
      <Route path="/test" component={Test} ></Route>
    </Switch>
  </div>;
}

export default App;
